home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / pmnsmerge.z / pmnsmerge
Encoding:
Text File  |  2002-10-03  |  5.7 KB  |  132 lines

  1.  
  2.  
  3.  
  4. PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))                                                      PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppmmmmnnnnssssmmmmeeeerrrrggggeeee - merge multiple versions of a Performance Co-Pilot PMNS
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      $$$$PPPPCCCCPPPP____BBBBIIIINNNNAAAADDDDMMMM____DDDDIIIIRRRR////ppppmmmmnnnnssssmmmmeeeerrrrggggeeee [----aaaaddddffffvvvv] _i_n_f_i_l_e [...]  _o_u_t_f_i_l_e
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      ppppmmmmnnnnssssmmmmeeeerrrrggggeeee merges multiple instances of a Performance Metrics Name Space
  16.      (PMNS), as used by the components of the Performance Co-Pilot (PCP).
  17.  
  18.      Each _i_n_f_i_l_e argument names a file that includes the root of a PMNS, of
  19.      the form
  20.  
  21.                root {
  22.                    /* arbitrary stuff */
  23.                }
  24.      The order in which the _i_n_f_i_l_e files are processed is determined by the
  25.      presence or absence of embedded control lines of the form #define
  26.      _DATESTAMP YYYYMMDD
  27.  
  28.      Files without a control line are processed first and in the order they
  29.      appear on the command line.  The other files are then processed in order
  30.      of ascending _DATESTAMP.
  31.  
  32.      The ----aaaa option suppresses the argument re-ordering and processes all files
  33.      in the order they appear on the command line.
  34.  
  35.      The merging proceeds by matching names in PMNS, only those nnnneeeewwww names in
  36.      each PMNS are considered, and these are added after any existing metrics
  37.      with the longest possible matching prefix in their names.  For example,
  38.      merging these two input PMNS
  39.  
  40.                root {                    root {
  41.                                              surprise  1:1:3
  42.                    mine       1:1:1          mine      1:1:1
  43.                    foo                       foo
  44.                                              yawn
  45.                    yours      1:1:2
  46.                }                         }
  47.                foo {                     foo {
  48.                    fumble     1:2:1
  49.                                              mumble    1:2:3
  50.                    stumble    1:2:2          stumble   1:2:2
  51.                }                         }
  52.                                          yawn {
  53.                                              sleepy    1:3:1
  54.                                          }
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                                         PPPPaaaaggggeeee 1111
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))                                                      PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))
  68.  
  69.  
  70.  
  71.      Produces the resulting PMNS in _o_u_t.
  72.  
  73.                root {
  74.                    mine      1:1:1
  75.                    foo
  76.                    yours     1:1:2
  77.                    surprise  1:1:3
  78.                    yawn
  79.                }
  80.                foo {
  81.                    fumble    1:2:1
  82.                    stumble   1:2:2
  83.                    mumble    1:2:3
  84.                }
  85.                yawn {
  86.                    sleepy    1:3:1
  87.                }
  88.  
  89.      To avoid accidental over-writing of PMNS files, _o_u_t_f_i_l_e is expected to
  90.      not exist when ppppmmmmnnnnssssmmmmeeeerrrrggggeeee starts.  The ----ffff option forces the removal of
  91.      _o_u_t_f_i_l_e (if it exists), before the check is made.
  92.  
  93.      The ----dddd option allows the resultant PMNS to optionally contain duplicate
  94.      PMIDs with different names in the PMNS.  By default this condition is
  95.      considered an error.
  96.  
  97.      The ----vvvv option produces one line of diagnostic output as each _i_n_f_i_l_e is
  98.      processed.
  99.  
  100.      Once all of the merging has been completed, ppppmmmmnnnnssssmmmmeeeerrrrggggeeee will attempt to
  101.      compile the resultant namespace using ppppmmmmnnnnssssccccoooommmmpppp(1) - if this fails for any
  102.      reason, _o_u_t_f_i_l_e will still be created, but ppppmmmmnnnnssssmmmmeeeerrrrggggeeee will report the
  103.      problem and exit with non-zero status.
  104.  
  105. CCCCAAAAVVVVEEEEAAAATTTT
  106.      Once the writing of the new _o_u_t_f_i_l_e file has begun, the signals SIGINT,
  107.      SIGHUP and SIGTERM will be ignored to protect the integrity of the new
  108.      file.
  109.  
  110. PPPPCCCCPPPP EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  111.      Environment variables with the prefix PPPPCCCCPPPP____ are used to parameterize the
  112.      file and directory names used by PCP.  On each installation, the file
  113.      /_e_t_c/_p_c_p._c_o_n_f contains the local values for these variables.  The
  114.      $$$$PPPPCCCCPPPP____CCCCOOOONNNNFFFF variable may be used to specify an alternative configuration
  115.      file, as described in ppppccccpppp....ccccoooonnnnffff(4).
  116.  
  117. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  118.      ppppmmmmnnnnssssaaaadddddddd(1), ppppmmmmnnnnssssccccoooommmmpppp(1), ppppmmmmnnnnssssddddeeeellll(1), ppppccccpppp....ccccoooonnnnffff(4), ppppccccpppp....eeeennnnvvvv(4) and ppppmmmmnnnnssss(4).
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.